def num_tagitems(self, tag):
query = "<STR_LIT>".format(<EOL>u=self.library_id, t=self.library_type, ta=tag<EOL>)<EOL>return self._totals(query)<EOL>
Return the total number of items for the specified tag