hide date filter if no dates are selectable (for anonymous users) and document that we have to count rows instead of calling collection->count