Input: Sentence: 'A dog looking up at a person with a frisbee at their feet'. Count the number of nouns in this sentence.
Output: 4