Added option to display the number of tagged items; Added class attributes for HTML tags