syntax error: SELECT COUNT(*) AS visitip FROM table_counter WHERE ip='18.191.237.167' AND (tm+'900')>'1716984949'