SELECT
	COUNT(*) as NOR
FROM
	tdAnmeldungen
WHERE 
	IFNULL(DeleteDate,-1)=-1
	AND {SEARCHDATA}