Added retry count REST API method