docs: public int occurrences(Object obj)
      {
          int count = 0;
          for (int i = 0; i < this.size(); i++)
          {
              if ((obj == null) ? this.get(i) == null : this.get(i).equals(obj))
              {
                  count++;
              }
          }
          return count;
      }