Cannot retrieve the data with backend code in live site

I have this code in my frontend, simple just query some data and print out the number of query results

I called the backend function ‘test’ which has the same code but run in the backend

In wix editor, results both frontend and backend show the same.
Frontend 11, backend 11

But after publish the site the results in live site show differently.
Frontend 11, backend 0

I replace data in sandbox with the live site so they are the same

Already contact the support but still no reply. Anyone experience the same problem?

I found the problem.

The query function of the backend does not work properly with other language.