Generate structural statistics

Per #247.