\n
\n \n
\n\n
\n {facetsStore.map(({ id, type, items, title, value }) => {\n let selectedCount = 0;\n if (id === 'LocationFacet') {\n const campusLocationFacet = facetsStore.find(\n facet => facet.id === 'CampusLocationFacet'\n );\n\n const locationFacetValuesLength = value?.length || 0;\n const campusLocationFacetValuesLength = campusLocationFacet?.value?.length || 0;\n\n selectedCount = locationFacetValuesLength + campusLocationFacetValuesLength;\n } else {\n selectedCount = value?.length || 0;\n }\n\n return (\n \n );\n })}\n
\n\n
\n \n
\n
\n\n