add hack to make calculate count available for genetic algorithm