Input: Sentence: 'A boat sits in the harbor along side other boats'. Count the number of nouns in this sentence.
Output: 3