Updating PMIModel to use CounterMap for p(f, e)