Input: Sentence: 'a girl in a brace is running toward a ball'. Count the number of nouns in this sentence.
Output: 3