select COUNT(*) AS usercount from #PopupCal_ProfileDB# There are #cal_usercount.usercount# PopUp Calendar Users [List Users]