settings: Forward-port notification counters

original commit: https://github.com/CyanogenMod/android_packages_apps_Settings/commit/8a2af12b2e371cef1dd434335fe5b9822f7818fe