Added sub timed_count_contributions