New method and new variable

added another add method which adds an elt a specified number of
occurences. also brought in count to keep track of each element's
occurences