main中没有等待参数输入的语句哟:
  int x=0;
  try{
      x=System.in.read();
  }
  catch(IOException ioe){
  }
  count.countDays(x)