Input: Sentence: 'there are two motor cycles that are parked in the dirt'. Count the number of nouns in this sentence.
Output: 3