For each product which has problems, what are the number of problems and the product id?
return products ;return problems  of #1 ;return number of  #2 for each #1 ;return product  ids of #1 ;return #3 ,  #4
['select', 'project', 'group', 'project', 'union']