got tag counter to work - not quite done yet