Count how many times a method was called.
int callCount(String method) => _calls.where((c) => c == method).length;