Scholars collect various forms of data to measure gender equality or, more likely, measures of inequality. These include things like how long females spend in education compared to males within certain societies. Another measurement might be the gender pay gap that exists in nearly all countries. There again, the number of reported acts of violence against women is often also used to measure inequality, especially in legal outcomes before the courts. Such data is gathered in a variety of ways and then number-crunched to produce indices of gender equality. The gender-related development index and the global gender gap index are just two examples of them.