Filters are searches that return lists of issues. They don't say anything about the data themselves.
For the total hours, you'll need to take a filter (e.g. "project = X") and push it through a report or gadget that will look at the data (and, in your case, add them up and display the result)
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events