code: function getElCount(a) {
    var
      cooktop = a.cooktopType !== 'none',
      largeCooktop = cooktop && a.cooktopType.slice(-2) === '90',
      fridgeLength = 0.52
  
    var nLength, elNum, remainder, elLength
    elLength = a.elementLength
    nLength = a.l + (a.fridge ? (elLength - fridgeLength) * 2 : 0) + (cooktop && largeCooktop ?  elLength - 0.90 : 0)
    elNum = Math.ceil(round(nLength / elLength, 100))
    remainder = round(elLength - (elNum * elLength - nLength), 100)
    return {elementNum: elNum, remainder: remainder}
  }
docs: helper