Use singleton for api statistics