If there is 1 train on a track facing right in the right image.
return the  right  image ;return trains in  #1 ;return the  track in  #1 ;return #2 on #3 ;return #4 that are  facing right  ;return number of #5 ;return if  #6 is  equal to one
['select', 'project', 'project', 'filter', 'filter', 'aggregate', 'boolean']