Input: Sentence: 'A green city bus with dolphins on it'. Count the number of nouns in this sentence.
Output: 3