add a script to count spiral bonds