Input: Sentence: 'An old photograph of to people walking down a train platform'. Count the number of nouns in this sentence.
Output: 4