Added the correct sql query to get the tags and counts for populating
the tag cloud.