Can't count collections with more than 600 000 documents

Hi,

when I try to do Count(Documents(Collection("NAME"))) it works great, unless the collection has more than 600 000 documents, then it throws this kind of error:

Error: [
  {
    "code": "bad request",
    "description": "Transaction does too much compute: got 603203, limit: 600000"
  }
]

Am I doing something wrong ?

Thank you in advance