Added the function of parsing number of proposals according to level