keep a write access counter for easily keeping track of changes without watching the full object