improve text extractor script wor word counting of exported OiRA tools #10309