Hi,
I checked the behavior in house, but I could not reproduce your situation which succeeded deployment was counted as failure.
However, the counter of both success/fail was reset when the deployment was failed, despite only succeeded deployments can be counted properly. I guessed the counter is missing if deployment is duplicated with same application, process and environment.
So, I think it is unexpected behavior.
I recommend to open a support case to investigate further.
On the other hand, I'm not sure, but you may be able to find the expected data in statistics_counters table in database as work around.
Thanks
Yas