title: print with the highest count in python
body: <p>I want to print only the first 3 of highest count in the dictOfNumberOfDocumentsWithTermInside </p>
  
  <p>I want output to be <code>('Bahrain', 'museum' , 'royal' )</code></p>
  
  <pre><code>allvocandcount = []
  for index, voc in enumerate(allDocumentsNoDuplicates):
      count = 0
      for x in allDocumentsTokenized:
          if voc in x and voc not in " ":
              count += 1
      allvocandcount = (voc, count)
      print(allvocandcount)
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>('Bahrain', 5)
  ('one', 1)
  ('museum', 5)
  ('earliest', 1)
  ('royal', 4)
  ('areas', 1)
  ('convert', 1)
  ('Islam', 1)
  </code></pre>