INSERT INTO count (ip) VALUES ('". $_SERVER['REMOTE_ADDR'] ."');
Would be the correct syntax, however you will need
to rename your table "count" to something different.
That name is reserved by mySQL. I would recommend
something like ip_count.
Cheers.