Library class to be able to remember counts