Input: Sentence: 'A man that is sitting on a bike'. Count the number of nouns in this sentence.
Output: 2