adds a counter to the attr cleaner