Input: Sentence: 'A person flies a kite over a field'. Count the number of nouns in this sentence.
Output: 3