totalElements

Returns the total number of elements in the tensor layout.