Begun work on tokenizing/counting function

Still not functional. Gonna take a trip to some office hours.