Parse chapter JSON count properly