SERVER-7172 Add count of children method to mutable BSON.