If a woman is doing another woman's hair in only one of the images.
return woman ;return another woman ;return hair of #2 ;return #1 that is doing #3 ;return images of #4 ;return the  number of  #5 ;return if  #6 is equal to  one
['select', 'select', 'project', 'filter', 'project', 'aggregate', 'boolean']