I am using Jira structures for getting the individual transition time of my custom workflow statuses via Time in Status col and it works perfect.
But not able to find a solution for specific status transition execution count. Tried with Formula like below where I am tying to find how many times it is returning to build from test but it dint help.
if (issutype == story; IF (Testing!=0 and status==Build; WITH CURRENT_count=0:CURRENT_count+1))
Note: Testing is name of one of Time in Status column.