Input: Sentence: 'A wooden table sitting in the middle of a kitchen'. Count the number of nouns in this sentence.
Output: 3