[linkedin:learning] extract chapter_number and chapter_id(closes #19162)