Input: Sentence: 'a sink sits in front of a window and a counter'. Count the number of nouns in this sentence.
Output: 4