Test for countForTag