added bindings for getting the size of a compound from its ID