Input: Sentence: 'This kitchen table has fruits and vegetables on it'. Count the number of nouns in this sentence.
Output: 4