using this code
new File(\"/mnt/sdcard/folder\").listFiles().length
returns a sum of folders and files in a particular directory without ca
you will have to do a recursive search over your files. Use `File#isDrirectory()´ to check if a file is a directory and traverse the file tree down.