membership with buddy press limit group number of groups per user


I would like to use membership together with buddy press and limit the number of groups a specific user can create. Generally this would be either 1 or 0 Groups. Not globally. Buddy press can allow or disallow users to create groups. This is applied to all users. I would like to narrow this down to selected users. Can membership help here? So, users with a membership are allowed to create groups, users without a membership are not allowed to create groups..

Hope I'm making sense here.

Thanks. Bernhard