Solving complex billable metrics with custom SQL expressions in Lago