Changed call to dfdl:occursCount() to fn:count(). This is only in an
outputValueCalc, so untested on Daffodil so far.