Input: Sentence: 'An office is complete with a chair and two desks'. Count the number of nouns in this sentence.
Output: 3