function to count number of days based on commuter checkboxes