Add size in get history method