File counter proc

Added file counter proc which determines the number of extracted files and subdirectories