Input: Sentence: 'A family at play with a frisbee in the back yard'. Count the number of nouns in this sentence.
Output: 5