Added method call counter.