How can I get the total hours in the form?