Input: Sentence: 'A man plays tennis in front of crowd'. Count the number of nouns in this sentence.
Output: 4