Add counter for sent ajax requests