Adds size method to IPRange.