Do not count the size of shared folder on total

Changed all array access to dot notation