Updated running write count calculation