LPS-36370 only filter by classNameId when it's select showAssetCount in preferences (according with the configuration UI)