get_type_dist function

Get entity type distribution from co-occurrence matrix