Use COUNT function to check if a user setting exists