Given the following stream of page references by an application, calculate the number of page faults the application would incur with the FIFO page replacement algorithms. Assume that all pages are initially free. 3 physical pages available.
Reference Stream: A B C D A B E A B C D E B A B