Solved problem 73 (counting fractions in a range).