Passing kwargs into objectScript

I have tried the first script, I can't seem to get this to work.

SyntaxError: ("mismatched input 'EnableOffset' expecting DOUBLESTAR", ('expression:objectScript', 1, 45, '__retv = shared.WorkOrder.SumCounters(*args, EnableOffset=1)\n'))

The second script generates the same error. Is there something that I am missing?

I am using Ignition v7.9.7.