Input: Sentence: 'A marina filled with sailboats on a sunny day'. Count the number of nouns in this sentence.
Output: 3