Application of regression in determining species number