proc count {nick host handle chan arg} {
	global _mysql_host _mysql_port _mysql_user _mysql_pass _mysql_db mysqlstatus prechan
	set mysql_handler [mysqlconnect -host $_mysql_host -port $_mysql_port -user $_mysql_user -pass $_mysql_pass -db $_mysql_db]
                set col [mysqlsel $mysql_handler "select titre from rlz"]
	putquick "PRIVMSG $chan : Found $col"

	mysqlclose $mysql_handler
}