On the correspondence between fermionic number and statistics of solitons