def calc_absent(marks):
    """ Function which returns the count of absent students. """
    absent_count = 0
    for mark in marks:
        if mark == 0:
            absent_count += 1

    return absent_count