Added a base counting func and changed sequence to primergen, and .actual to .sequence