code: private int getDividerCount() {
          SharedPreferences sharedPreferences =
                  PreferenceManager.getDefaultSharedPreferences(getActivity());
          String key = getString(R.string.divider_count_preference_key);
          String defaultValue = getString(R.string.divider_count_preference_default_value);
          return Integer.valueOf(sharedPreferences.getString(key, defaultValue));
      }
docs: Returns the number of dividers, which should be shown, depending on the app's settings.
  
  @return The number of dividers, which should be shown, as an {@link Integer} value