expose totalSize