one sharepoint list is as follows ListA
colA colB
Tim TimA
Tim TimB
John JohnA
John JohnB
Tim TimC
how can i automatically create a new list using values of ListA ListB
ColAA ColBB
Tim 3 ( because there are 3 items for Tim in ListA)
John 2