Statistical method in quark combination model