[SOLVED] Get and post total from DB

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