I have SELECT:
SELECT c FROM ( SELECT "candidate_id" as id, count("candidate_id") as c FROM "Applicaions" GROUP BY &
Can't you use this statement:
SELECT count("candidate_id") as c FROM "Applicaions" WHERE "candidate_id"=_SOME_ID_ GROUP BY "candidate_id"
It should return count() and you don't need subquery.
EDIT: Matthew PK is correct and Andy Paton has better answer ;)