How to count the numbers of your database (display on site)

import wixData from ‘wix-data’; ----> Allow usage of wixdata API
$w(" #TextCount ").text = totalCount.toString(); ----> set textbox id property to TextCount


you can do this by right click + view properties (only available on Developers Mode: On)