Input: Sentence: 'A zebra stands alone in  bare, artificial habitat'. Count the number of nouns in this sentence.
Output: 2