If there is at least one upholstered ottoman at the foot of a bed in one of the images.
return ottoman ;return #1 that is upholstered ;return bed ;return foot of #3 ;return #2 that is at #4 ;return images ;return the  number of  #5 for each  #6 ;return #6 where  #7 is at least one ;return the  number of  #8 ;return if  #9 is equal to  one
['select', 'filter', 'select', 'project', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']