Events: Fix tests, add count/sum methods.