Introducing Metrics in Maintenance and Associated Problems