Added specs for the abstract representer; representer automatically calculates total_count if not present