Added counter for success rate & total failures