Select count(*) - (select count(*) from table where type = 1) from table С телефона. Теоритически должно работать