I am executing this query:
SELECT voterfile_county.Name, voterfile_precienct.PREC_ID, voterfile_precienct.Name, COUNT((SELECT voterfile_vote
See the below example and modify your query accordingly.
select COUNT(ResultTPLAlias.id) from (select id from Table_name where .... ) ResultTPLAlias;