I know that Google sets those pages aside when showing SERPs, but do the links from those pages still count when calculating ranking?
yes, link from supp. pages will be counted as backlinks . supp. result are the pages which have lost the quality for a temp. time