Error, count query failed: SELECT COUNT(*) AS numrows FROM members2007 WHERE length(finished_url)>0 and not isnull(finished);