If the labels are handwritten in one of the images.
return labels ;return #1 that are handwritten ;return images ;return number of  #1 for each  #3 ;return number of  #2 for each  #3 ;return #3 where  #4 is equal to  #5
['select', 'filter', 'select', 'group', 'group', 'comparative']