https://github.com/lamalab-org/chem-caption/blob/5d0985925a7d4bed505323f38fd55bd726af2c56/src/chemcaption/featurize/composition.py#L424