How are statistics calculated?