public Integer occurences(String word) {
   for (Info i : lista) {
     if (i.equals(word)) {
       i.incrementCount();
     }
     return (int) i.getCount();
   }
   return null;
 }
 public void count(String word) {
   inf.incrementCount();
 }