add log counts for specified time period