Sorry I should've given you more info. I'm running that first query to find "value" between two dates. Now I need to count the number of times each value gets returned and output it like this:
value (number of times it exists in the date range)
value 2 (number of times it exists in the data range)
etc.
So this is different than just counting the total number of values within the date range.
Actually, I just got it. Thanks for your help.