Refactoring on counter of pages per event
Solving issue 13 'Update page count when moving a Page'