Rather than counting clips or qualifiers, this function counts the number of attributes in a row and/or specific qualifier, with a specific attribute category and attribute name.
Basic format: ["count_attributes", "row_name", [search_criteria] , "start_time", "end_time" ]
In the following example, we want to know how many action outcomes were 'successful' without counting up all the action qualifiers independently with the outcome:successful attribute.
e.g. ["count_attributes", "In Possession", [{"Action": "", "attributes": {"Outcome": "Successful"}}]
You can also define a start and end time which is also useful with the min_time_start and max_time_end functions - ensure you define the timing variables before you use them in this function.