code: function getWeeksOnChartFromChartItem(chartItem) {
  	var weeksOnChart;
  	try {
  		if (chartItem.children[3].children.length > 5) {
  			weeksOnChart = chartItem.children[3].children[5].children[7].children[3].children[0].data;
  		} else {
  			weeksOnChart = chartItem.children[3].children[3].children[5].children[3].children[0].data;
  		}
  	} catch (e) {
  		weeksOnChart = '1';
  	}
  	return parseInt(weeksOnChart);
  }
docs: Gets the weeks on chart last week from the specified chart item
  
  @param {HTMLElement} chartItem - The chart item
  @return {number} The weeks on chart
  
  @example
  
  getWeeksOnChartFromChartItem(<div class="chart-list-item">...</div>) // 4