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