Specifically, it would be nice to count the number of items in an archive file, and drop that in a variable, but it would also be nice on directories.
Additionally, it would be nice to be able to extract a file listing of an archive, into a file, or another variable.
For me, the archives are predominately zip files, but tar.gz would be nice too.