from typing import List
from typing import Dict


def conditionalCount(givenDictList: List[Dict], givenKey: str, givenValue: str) -> int:
    """
    Counts number of items where key equals value in list of dict
    :givenDictList: list of dicitionary
    :givenKey: key against which value is to be matched
    :givenValue: to match value
    """
    count = 0
    for givenDict in givenDictList:
        if givenKey in givenDict and givenDict[givenKey]:
            count += 1

    return count