save total downloads count to mongodb