code to combine moses output and count features in best combo programs