minimal counter simulation