HELP: Sum up & display the number of the items from Database

Hi Everyone

let me explain.

Let’s assume, I have two different databases:
WORKERS: 125 items
FACTORIES: 45 items

How to sum up the items in both databases and display on the website, for example: on the landing page?

Thanks

Hey Vladimir,

Take a look at WixDataQuery.count() - just what you’re looking for.

Good luck,

Yisrael

:slight_smile: Well, Yisrael
it is nice from you for the help regarding the links to the database of the Wix. This is the easiest step. More or less i can find it by myself. But these commands are suitable for the programmers. They understand it. I am not the programmer. You see the problem now?
Maybe some working existing example of the code would be great.
Thank you anyway

The documentation that I linked to has examples that you can use in your app.