Count the number of successful contexts that contain a specific code.
Here is an example context:
dir
operator
Call ID
context
B_number
code
Вход (не усп)
O
790320139
10841126052
5556133
606
Исх (не усп)
PDGI/TO-SIP-SS4-INT
790320140
10841126052
5556133
502
Исх (не усп)
el/TO-SIP-SS4-INT
790320146
10841126052
5556133
503
Вход (не усп)
O
798778645
10841126192
5221195
487
Исх (не усп)
fon-PDGI/TO-SIP-SS4-INT
798778646
10841126192
5221195
503
Исх (не усп)
PDGI/TO-SIP-SS4-INT
798778658
10841126192
5221195
503
Исх (не усп)
anet/TO-SIP-SS4-INT
798778663
10841126192
5221195
487
It is necessary to select only those contexts in which the unique B_number and the unique operator number is greater than 2. Calculate how many of these contexts contain a specific operator and are successful (ie dir =Исх (усп))