Added api request counter