Default count-based network models for credit contagion