COUNTROWS The COUNTROWS function counts the number of rows in the specified table, or in a table defined by an expression.
Syntax
COUNTROWS(table)
Parameters
table – The name of the table that contains the rows to be counted, or an expression that returns a table.
Return Value
A whole number.
Reference Data
https://docs.microsoft.com/en-us/dax/dax-function-reference