add api call's statistics