all tests pass, can count things and sum prices