A components table has parent TEXT, child TEXT, quantity INTEGER — each row means one unit of parent requires quantity units of child (which may itself be a parent of further sub-components).
Return the total number of units consumed to build one 'Bike', summed across every level of the tree — each sub-assembly counts as a unit itself, in addition to the units it in turn requires (a single integer).