Q&A for professionals and students of engineering
SELECT (SELECT count(id) FROM Posts) AS CountPosts, (SELECT count(id) FROM Users) AS CountUsers, (SELECT cast(count(id) AS BIGINT) FROM Posts) * (SELECT cast(count(id) AS BIGINT) FROM Comments) AS CountAll;