Input: Sentence: 'A bottle of wine sitting on top of a table next to a glass of wine'. Count the number of nouns in this sentence.
Output: 6