If one image contains a sheep dog herding three or more sheep.
return sheep dog ;return sheep ;return #2 that #1 is herding ;return number of  #3 for each  #1 ;return #1 where  #4 is at least three ;return if  #5 is in  one image
['select', 'select', 'filter', 'group', 'comparative', 'boolean']