That code will give you the total for the whole album, no matter where you call it. To get the count for the current folder, do like this:
int count = currentFolder
.getChildren()
.parallelStream()
.filter(ao -> ao.getAudioClip() != null)
.count();
To get the count for the current folder, and its sub folders, do:
int count = currentFolder
.getDescendants()
.parallelStream()
.filter(ao -> ao.getAudioClip() != null)
.count();