See below formula:
=Sum(countIfs(criteria_range1, criteria 1, criteria_range2, criteria 2))
If criteria 2 is an a array/range of values – Excel has the functionality to output an array of values as a result of formula spill from the COUNTIFS which then get summed.
Does Smartsheet have the ability to output an array from a COUNTIFS/COUNTIF formula? The goal is to get the counts of multiple criteria in an array in in order to get a sum of the counts of the occurrences/instances of the different criteria specified.