SubsetCount
SubsetCount[list,sub] gives a count of the number of times sub appears in any order as a sublist of list.
SubsetCount[list,patt] gives the number of sublists in list that match the general pattern patt in any order.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.