[doc][algorithms][num_segments] add back documentation for num_segments algorithm
Merge pull request #170 from mkaravel/doc/add_back_doc_for_num_segments

[doc][algorithms][num_segments] add back documentation for num_segments algorithm