Input: Sentence: 'Two motorcycles leaning on their kickstands on a lawn'. Count the number of nouns in this sentence.
Output: 3