fix credit manager mongo count request

I wouldn't have noticed this bug without trying to upgrade mongo to 2.4.X. Indeed the 2.2.X seems more reliable on smaller machine configuration.