Why does the number of victims play a critical role in determining the gravity of an offence in the judicial system?

A Delhi court mentioned that the gravity of offence increases with the number of victims in a bail plea hearing. I want to understand the reasoning behind this legal principle.