Hm, a group of 25 goblins could be split up to groups of 5 and every group would attack one PC. So for every group of 5 kobolds that attack you throw 5d20 for the attack, you count how many attacks hit and throw damage dice accordingly.
I'm inclined to handle this differently though. Don't make...