add a script to count compact conformations