Input: Sentence: 'A lego set shows a fo bathroom setting'. Count the number of nouns in this sentence.
Output: 3