Input: Sentence: 'Man rubs hands and looks to long narrow pizza'. Count the number of nouns in this sentence.
Output: 3