Issue #27 -- introduced countUsedTags