Networks of nanoparticles in organic-inorganic composites: algorithmic extraction and statistical analysis