Input: Sentence: 'Kites can be a great mode of transportation over the ice'. Count the number of nouns in this sentence.
Output: 4