Obtaining chemical graph complexity index from SMILES or InChl

I wonder if anyone knows a readily available way to obtain some chemical graph complexity index (like the J index) from the SMILES or InChl representations?I'm looking for some existing implementation, e.g. in R, or OpenBabel, prior to trying to define mine if no one else exist... Thanks!


