This is a simple way of calculating the potential words given a number of minims. If you want to calculate with multiple blocks of minims, then go here. The programme is slightly slower, but it does let you compute multiple minim blocks.