Hi @VirtualAssistant, thanks for contacting us.
Shared folders are counted against the quota of all the members of that shared folder.
This is to prevent users from stacking individual plans together to increase their quota beyond their quota limit.
If you have any further queries, feel free to message back.