Files stored in mirrored folders do not count against your data quota because they are not uploaded into the Teaming site.
For more information on mirrored folders, see Section 3.5, Working with Mirrored Folders.