自己解決しました

char *euc[] = {"EUC-JP","euc-jp","x-euc-jp","eucJP-ms","CP51932","cp51932"};
cout<<sizeof(euc)/sizeof(char*)<<endl;