def METHOD_NAME(self, relative_time):
    "Number of times job was supposed to ran but failed to, only used for debug"
    missed_ct = self.expected_runs(relative_time) - self.completed_runs
    # if this is currently due to run do not count that as a missed run
    if missed_ct and self.due_to_run(relative_time):
        missed_ct -= 1
    return missed_ct