Measuring Competition