Input: Sentence: 'A silver BMW motorcycle being posed for a picture'. Count the number of nouns in this sentence.
Output: 2