docs: def _compute_count_availability(resource, status, previous_status):
      '''Compute the `check:count-availability` extra value'''
      count_availability = resource.extras.get('check:count-availability', 1)
      return count_availability + 1 if status == previous_status else 1