CALCULATE TOTAL NUMBER OF ESTIMATED HOURS
When I look at the question, it is not important what you create to achieve the result: calculate and return the total number of estimated hours involved in a given stage at the date of the estimate.

I would advise though to just create a query to return the result.