Added median to the generated statistics