title: How to count words in a corpus document
body: <p>I want to know the best way to count words in a document. If I have my own "corp.txt" corpus setup and I want to know how frequently "students, trust, ayre" occur in the file "corp.txt". What could I use?</p>
  
  <p>Would it be one of the following:</p>
  
  <pre><code>....
  full=nltk.Text(mycorpus.words('FullReport.txt'))
  &gt;&gt;&gt; fdist= FreqDist(full)
  &gt;&gt;&gt; fdist
  &lt;FreqDist with 34133 outcomes&gt;
  // HOW WOULD I CALCULATE HOW FREQUENTLY THE WORDS 
  "students, trust, ayre" occur in full.
  </code></pre>
  
  <p>Thanks,
  Ray</p>