count method for driver and attendance makes sure doesnt take twice