nltk.Text.count

Text.count(word)[source]

Count the number of times this word appears in the text.