Do not count the size of shared folder on total

Changed all array access to dot notation

Split comment in a second line