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='兵庫県') ) ) ;