public static int calcRWCount(int lvl){
  return (int)Math.ceil(Math.log10(1 + rand.nextInt(lvl * lvl + 1))) + rand.nextInt(1);
}

public static int calcRWCount ( int lvl ) { return ( int ) Math . ceil ( Math . log10 ( 1 + rand . nextInt ( lvl * lvl + 1 ) ) ) + rand . nextInt ( 1 ) ; }
calculate random word count , ie . how many words to generate for a random task
