Count total number of synchronous invocations