replace MPHvalue with token count