Add version 2 in get_stats