Number rows in table

Hi

I start with the Wix code.
I have a table connected to the dataset with filter.
Under this chart, I would like to show the number of lines to my visitors. My table can hold 50 lines and it is not easy to count by hand
I read lot of post but solution seems to be too sophisticated for my need

Can you help me ?

Thank you very much

https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#getTotalCount

This refers to the amount of rows in the dataset. Or do you want to display the amount of rows in the grid?

Yes, I would like to display the amount of rows in the grid. If you have an exemple of code, it will be perfect
Thanks

    console . log ( "table rows : " ,  $w ( "#table1" ). rows ); 
    console . log ( "table rows length: " ,  $w ( "#table1" ). rows . length );