def get_failed_jobs(jobslist):
    """
    Gets count of jobs who have 'status' of 'failed'

    :param jobslist:
    :type jobslist: list of dict
    :return: count of failed jobs
    :rtype: int
    """
    if jobslist is None:
        return 0
    failedcnt = 0
    for job in jobslist:
        if 'status' in job and job['status'] == 'failed':
            failedcnt += 1
    return failedcnt