Fixed the MySQLi field count (fixes #5182)