For each product, return its id and the number of times it was ordered.
return products ;return ids of #1 ;return times that  #1 was ordered ;return number of  #3 for each #1 ;return #2 ,  #4
['select', 'project', 'project', 'group', 'union']