Input: Sentence: 'a man spinning a soccer ball on his finger'. Count the number of nouns in this sentence.
Output: 4