I have a spreadsheet with 2 columns column a is CustomerID and Column B is TransactionDate

I need a way of counting how many transaction dates a customer as

column A can have the same customer ID in multiple times

Any help appreciated

Steve