Bug fixes

Counter for total number of MD simulation added.