Added total api call count to output