from typing import Counter


def is_anagram_counter(s, t):
    """
    Determine whether or not teo given strings are anagram by counter

    :param s: source string
    :type s: str
    :param t: target string
    :type t: str
    :return: whether or not teo given strings are anagram
    :rtype: bool
    """
    return len(s) == len(t) and Counter(s) == Counter(t)