cache the count of ads locations