We know that the explicit limit for item level permissions in an SPO list is 50 000 items.
The question is what is the limit for a document library?
If I have one document set with 2 attached files - are these counted as 1 or 3 items in terms of the security scope limit?