Input: Sentence: 'A collage of cats interacting with and sitting on bicycles'. Count the number of nouns in this sentence.
Output: 3