modify count and average bolt