Added count matches on log. Slices up to 500