Try something like this :
-----------------------------
SELECT
*
FROM
(SELECT ks, COUNT(*) FROM TableName GROUP BY ks) t1
INNER JOIN
(SELECT ks, COUNT(*) FROM TableName WHERE Age > Palt GROUP BY ks) t2
ON t1.ks = t2.ks
OR
===
use UNION like,
SELECT ks, COUNT(*) FROM Table GROUP BY ks
UNION
SELECT ks, COUNT(*) FROM Table WHERE Age > Palt GROUP BY ks