Maximum number of fields/columns in MongoDB
This depends of name space or the storage for each name of each field, MongoDB by default only available 16mb for each documents, including name space (field in documents, database name, collection name)

Read this: limits namespaces