entity type summary stats enpoint. fixes sunlightlabs/brisket#14