avail function

Availability (1 - unavailability / total)