Proposed fix for printing out the correct number of
bonds per molecule with repeated molecules.