Power automate get unique values from sharepoint list. Then using the length() method we will count the items.