from typing import Counter


def unique_words_by_tag(tokens, tag_value='N/A'):
    """Return a counter of the tokens with the given tag value."""
    nouns = []
    for word, tag in tokens:
        if tag.startswith(tag_value) or tag_value == 'N/A':
            nouns.append(word.lower())
    return Counter(nouns)