So close, but I need an expert eye

Hi there! :wave:t2: It looks like you have the if/else statement “backwards”. Right now, if there are no items it shows the “There are X frozen dishes available to order” text, and if there are items it says “there are no frozen meals available currently”.

You should also do a console.log to see if the num variable is really returning something. If not, we’ll have to do more work.

Try switching it to this

function getFrozenCounts() {
    wixData.query("Stores/Frozen") // Store collection name
    .count()
    .then((num) => {
        let numberOfItems = num;

        console.log("Number of Items = " + num) 

        if(numberOfItems === 0) {
            // If there are NO frozen dishes
            $w("#frozenNumber").text = noFrozenText;
        } else { 
            // If there ARE frozen dishes
            $w("#frozenNumber").text = "There are " + num + " frozen dishes         available to order"; 
        };
    });
}