Show how many items matched the query

Still not working :confused:


  let itemObj = $w("#dataset2").getCurrentItem();
   		 wixData.query("commentaires")
  			.contains("reference", $w('#input2').value)
  			.find()
  			.then( (results) => {
				let numberOfItems = results.totalCount; 
$w('#text96').text === numberOfItems + 'Commentaires';
			});