79409263

Date: 2025-02-03 15:37:38
Score: 1.5
Natty:
Report link

With that syntax you're attempting to set an object to a number property.
To solve this use {'stat.dataCount': records.length} instead of
{'stat.dataCount': {$size: "$data"}}.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hello-there-general-kenobi