add a script to count conformations