script to list basic statistics of metadata file