def count_seq_chars(seq, alphabet):
    """Count characters from given alphabet that are present in sequence.

    Args:
       seq (str): sequence
       alphabet (str/list): list of allowed characters

    Returns:
       A list of characters' counting occurrences.

    Examples:
       >>> alphabet = 'ACDEFGHIKLMNPQRSTVWY'
       >>> seq = 'MKSTGWHFSG'
       >>> print(count_seq_chars(seq, alphabet))
       [0, 0, 0, 0, 1, 2, 1, 0, 1, 0, 1, 0, 0, 0, 0, 2, 1, 0, 1, 0]

    """
    l = [0 for c in alphabet]
    for i, c in enumerate(alphabet):
        l[i] += seq.count(c)
    return l