If each image shows a single llama figure, which is standing in profile facing leftward.
return llama figure ;return #1 that is standing in  profile ;return #2 that is facing leftward ;return images ;return number of  #3 for each  #4 ;return #4 where  #5 is equal to  one ;return number of  #4 ;return number of  #6 ;return if  #7 is equal to  #8
['select', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']