Input: Sentence: 'A brown cow walks on a road with two motor bikes in the background'. Count the number of nouns in this sentence.
Output: 5