Adding Agent abstraction to count actor's executions