For each product with some problems, list the count of problems and the product id.
return products ;return #1 with  problems ;return problems of  #2 ;return number of #3 for each #2 ;return product ids of  #2 ;return #4 ,   #5
['select', 'filter', 'project', 'group', 'project', 'union']