How many assets does each maintenance contract contain? List the number and the contract id.
return maintenance contracts ;return assets that  #1 contain ;return the  number of  #2 for each #1 ;return the  contract ids of #1 ;return #3 ,  #4
['select', 'project', 'group', 'project', 'union']