How do I do this simple thing, I just want the number of documents in a database. So far I am using a loop function in python to do this, but it seems an incredible inefficient way of doing this. Fauton tells you at the bottom of the page how many docs there are, how can i get this number in either python or javascript please?