UPDATE
I am playing around with this code:
wixData.query('NewYearSurvey')
.eq('spin', 'Spin Class')
.count()
.then((num) => {
let spinCount = num;
})
But am unsure of how to now get $w('#text34).text = spinCount
UPDATE
I am playing around with this code:
wixData.query('NewYearSurvey')
.eq('spin', 'Spin Class')
.count()
.then((num) => {
let spinCount = num;
})
But am unsure of how to now get $w('#text34).text = spinCount