How to get total number of cell values in a datatable

I want to to get the total number of cells in a datatable. It is being used just to verify if the same amount of content is present in datatable after automation. How do i get total number of cells in a datatable?

I have an idea of getting row count and column count and multiplying it. Is there any other straight way of doing it?

@Sugumar8785 - earlier i did similar - dt.rows.count * dt.columns.count