campaigns: Refactor CalcCounts to use concrete types instead of custom interfaces
Created by: mrnugget
This is a first step torwards #9101 and loosens CalcCount
s dependency on the custom types Event
and Events
. These were necessary back when the CalcCounts
was written. But in order to unify the code, we can easily get rid of them now.
Other PRs to follow, but this is a lot of "noise", so I wanted to send this out first for easier reviewing.