fix the count_resque method to not hit the network twice