Get history size