support for counting trials in match blocks