implemented counting of tickets
the right way of doing mongo backups