Previous attempt to make put contract count more fluid contained logical error. Wrote Groovy test and passed after correcting math