If at least one television has two legs.
return television ;return legs of #1 ;return the  number of  #2 for each  #1 ;return #1 where  #3 is equal to  two ;return the  number of  #4 ;return if  #5 is at least one
['select', 'project', 'group', 'comparative', 'aggregate', 'boolean']