optimize http request count tool