Input: Sentence: 'A person in black and white stands on a board that is just above water and holds on to a bar'. Count the number of nouns in this sentence.
Output: 4