added basic testing for count occurences