Added helper functions to `TodoGroup` to get counts of items and checked items.