Get url counts by query it through the APIs