COUNT counts the number of non-blank values in a column.
Number of Customers = COUNT('Table'[Customer ID])
When you want to count the non-empty values in a column.
Go to report view
Insert a card
drag the newly created measure "Count" from the date pane into card
You will get the count displayed in the card