prevent tag_counts throwing an error when no tags were provided