Input: Sentence: 'A couple of women chasing after a frisbee on a field'. Count the number of nouns in this sentence.
Output: 4