diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 765bfb6..2df718c 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -145,6 +145,12 @@ class LocaleConfigurationTest extends DrupalWebTestCase {
     $this->drupalGet('admin/config/regional/language/delete/' . $langcode);
     $this->assertResponse(404, t('Language no longer found.'));
 
+    // Make sure, "locale_count" variable is equal with the count of enabled languages
+    $locale_count_variable = variable_get('language_count', FALSE);
+    $language_list = locale_language_list();
+    $enabled_languages = count($language_list);
+    $this->assertEqual($locale_count_variable, $enabled_languages, t('Local count is correct'));
+
     // Ensure we can't delete the English language.
     $this->drupalGet('admin/config/regional/language/delete/en');
     $this->assertEqual($this->getUrl(), url('admin/config/regional/language', array('absolute' => TRUE)), t('Correct page redirection.'));
