Input: Sentence: 'A bridge that is going over the water'. Count the number of nouns in this sentence.
Output: 2