added number of edits counter to document