added filters to separate totalRecords and filteredCount