inv_count

Invention counter added to implement addition in two tables at once