Input: Sentence: 'A kitchen with a small table and electronics on it'. Count the number of nouns in this sentence.
Output: 3