exercise 14-6: seperate reference counting into a seperate class Ref_count