listando pasta e quantidade

Array ( [0] => . [1] => .. [2] => bin [3] => boot [4] => dev [5] => etc [6] => home [7] => lib [8] => media [9] => mnt [10] => opt [11] => php.ini [12] => proc [13] => root [14] => run [15] => sbin [16] => srv [17] => sys [18] => tmp [19] => usr [20] => var ) Array ( [0] => var [1] => usr [2] => tmp [3] => sys [4] => srv [5] => sbin [6] => run [7] => root [8] => proc [9] => php.ini [10] => opt [11] => mnt [12] => media [13] => lib [14] => home [15] => etc [16] => dev [17] => boot [18] => bin [19] => .. [20] => . )

listando pasta e imagens