effort at word frequency calculator