Adding filter by function calls per time period