def get_hours(self, **kwargs):
date_entries = self.entries.filter(**kwargs)<EOL>return sum(sum(entry.hours for entry in entries) for entries in date_entries.values())<EOL>
Return the total hours of the entries filtered by the given `kwargs`, which are the same as
:meth:`~taxi.timesheet.entry.EntriesCollection.filter`.