Maximum number of groups per user

I am quite new in this topic, currently playing around with 20.0.9 version of nextcloud system.
Would like to get couple of infos regarding user-group management.

  1. maximum number of groups per user in nextcloud server.
  2. if there are any upper limits for the number of groups in total for use within the system.