Input: Sentence: 'A DEAD SEAL LAYING IN THE SAND ON NEAR THE OCEAN'. Count the number of nouns in this sentence.
Output: 3