Actor for counting string occurrences in logs.