diff --git a/bin/count-option b/bin/count-option
index 7a014daded1ed7a26e13d9d7885085aaf7ae45a2..09c1f0af81812e34ed7e2c1d30a3729559aec587 100755
--- a/bin/count-option
+++ b/bin/count-option
@@ -13,7 +13,7 @@ ALL_LOCAL_BLOGS_BIN = os.path.abspath(
 	os.path.join(os.path.dirname(__file__), 'on-local-blogs'))
 
 def get_option(opt):
-	pipe = subprocess.Popen([ALL_BLOGS_BIN, 'get-option', opt],
+	pipe = subprocess.Popen([ALL_LOCAL_BLOGS_BIN, 'get-option', opt],
 							stdout=subprocess.PIPE)
 	data = defaultdict(int)
 	for match in re.finditer('(.*): (.*)',pipe.communicate()[0]):