Moved statistic part to Stat.
Added InputTrainCount and OutputTrainCount.