// CountUsers allows to count all users
CountUsers allows to count all users
// CountUsers allows to count all users
func (db *Mngo) CountUsers() (int, error) {
	c := db.database.Collection(models.UsersCollection)
	count, err := c.CountDocuments(context.TODO(), nil)
	return int(count), err
}
func ( db * Mngo ) CountUsers ( ) ( int , error ) { c := db . database . Collection ( models . UsersCollection ) count , err := c . CountDocuments ( context . TODO ( ) , nil ) return int ( count ) , err }
CountUsers allows to count all users
CountUsers allows to count all users