modify hit count computation