count#
- swordfish.function.count()#
size returns the number of elements in a vector or matrix, while count returns the number of non-null elements in a vector/matrix. count can be used in a SQL query, but size cannot. For tables, size and count both return the number of rows.
- Parameters:
X (Constant) – A scalar/vector/matrix/table.