Toy calculator for relational query plans cost estimation