SELECT `id`, `date`, count(id) AS count FROM `vote` GROUP BY DATE_FORMAT(`date`, '%Y-%M-%D')
SELECT `id`, `date`,
sum(if(Android is null,0,1)) as android,
sum(if(Android is null,1,0)) as empty_android
FROM `vote`
GROUP BY DATE_FORMAT(`date`, '%Y-%M-%D')
SELECT `id`, `date`,
sum(if(Android <> '',0,1)) as android,
sum(if(Android = '', 1,0)) as empty_android
FROM `vote`
GROUP BY DATE_FORMAT(`date`, '%Y-%M-%D')