Add count feature to database export.
Add count feature to database export.

Not using mongoexport anymore as the version on Debian doesn't have
--count and installing the updated community edition is a mess on
raspbian...

mgunyho/kiltiskahvi