add counts by type