Probably because variables aren't parsed in single-quoted strings. Don't know about strings and variable parsing? Read the manual page that explains what a [man]string[/man] is.
Then again... why even use a string in there? Get rid of the quotes around the $count variable.
Also... did you realize you have unescaped quotes in your query?
Also... did you realize your query is vulnerable to SQL injection attacks? No user-supplied data should EVER be placed directly into a SQL query. Not only could they accidentally break your query with certain characters, but it also allows malicious users to inject SQL without your knowledge. Always run all user-supplied data through a function such as [man]msyql_real_escape_string/man (or some other function, depending upon the type of data you're expecting to get) before using it in a SQL query.
Oh, and by the way, if the rowID column is a numeric type, there's no reason to surround its value in quotes.