SELECT a.CountA,b.CountB,b.CountC,b.CountD FROM
SELECT COUNT(a) As CountA FROM table_name WHERE a != '') AS a
LEFT JOIN
SELECT COUNT(b) As CountB FROM table_name WHERE b != '') AS b
LEFT JOIN
SELECT COUNT(c) As CountC FROM table_name WHERE c != '') AS c
LEFT JOIN
SELECT COUNT(d) As CountD FROM table_name WHERE d != '') AS d