display the amount of data

currently I’m having trouble in making the design admin panel to display the amount of data that has been collected. how to display the amount of data has been submitted dynamically into the database?

I too have been searching for the subject for a long time
Then I assembled the following code myself:

import wixData from ‘wix-data’;
wixData.query(“Database name”)
.eq (“Column name”, “Value name”)
.count ()
.then( (num) => {
let numberOfItems = num;
$w(“#Text element name”).text = num.toString()
} ) ;

For me it worked great and hope for you too :sunglasses: