Small BugFix

Fixed measure count when starting/stopping server