I bet it is working and its something else that isnt doing what you expect.

But if it turnes out to be the break thats failed replace the .break with var %cb = $count($4,b)