Only show local public notices in sitemap. Only do counts for them in the sitemap index, and only show them in the notice sitemap.
We need to bundle counts of notices and users by date. This can be expensive for large sites. So, new tables are added to cache the results of these queries, which don't change after the date is over.