Copilot Labs developed a system for restaurants to calculate and improve the lifetime value of their customers.