How to perform greater than in pods restart count

SELECT max(k8s.container.restartCount) - min(k8s.container.restartCount) FROM Metric FACET k8s.podName, k8s.namespaceName where  (max(k8s.container.restartCount) - min(k8s.container.restartCount)) > 0

After executing above task ,Below error message is returned

here was a problem…
Not supported: BinOp{type=SUBTRACT, left=Call{target=Id{name='max', isQuoted=false}, arguments=CallArguments{positionalArgs=[CompoundId{type=Id{name='k8s', isQuoted=false}, field=Id{name='container.restartCount', isQuoted=false}}], kwargs={}}}, right=Call{target=Id{name='min', isQuoted=false}, arguments=CallArguments{positionalArgs=[CompoundId{type=Id{name='k8s', isQuoted=false}, field=Id{name='container.restartCount', isQuoted=false}}], kwargs={}}}} (at line 0 column 0)

In general, not only this case , I was unable to perform greater than operations in the system,