SELECT count(ID) as CNT FROM DAT_HAISYA WHERE ENABLE='ENABLE:公開中' AND PREF='熊本県' AND ( ( (TMP05 = '荒尾駅' and PREF='熊本県') or (TMP05 = '南荒尾駅' and PREF='熊本県') or (TMP05 = '長洲駅' and PREF='熊本県') or (TMP05 = '大野下駅' and PREF='熊本県') or (TMP05 = '玉名駅' and PREF='熊本県') or (TMP05 = '肥後伊倉駅' and PREF='熊本県') or (TMP05 = '木葉駅' and PREF='熊本県') or (TMP05 = '田原坂駅' and PREF='熊本県') or (TMP05 = '植木駅' and PREF='熊本県') or (TMP05 = '西里駅' and PREF='熊本県') or (TMP05 = '崇城大学前駅' and PREF='熊本県') or (TMP05 = '上熊本駅' and PREF='熊本県') or (TMP05 = '熊本駅' and PREF='熊本県') or (TMP05 = '西熊本駅' and PREF='熊本県') or (TMP05 = '川尻駅' and PREF='熊本県') or (TMP05 = '富合駅' and PREF='熊本県') or (TMP05 = '宇土駅' and PREF='熊本県') or (TMP05 = '松橋駅' and PREF='熊本県') or (TMP05 = '小川駅' and PREF='熊本県') or (TMP05 = '有佐駅' and PREF='熊本県') or (TMP05 = '千丁駅' and PREF='熊本県') or (TMP05 = '新八代駅' and PREF='熊本県') or (TMP05 = '八代駅' and PREF='熊本県') ) ) ;