SELECT COUNT(`column`) AS `quantity` FROM `table` WHERE `column` <> 1
SELECT COUNT(`column`) AS `quantity` FROM `table` WHERE `column` != 1
SELECT COUNT(`column`) AS `quantity` FROM `table` WHERE NOT `column` = 1