Fixed stroke counting.