Input: Sentence: 'The boy is standing with one foot on a chair, while cutting fabric'. Count the number of nouns in this sentence.
Output: 4