Added statistics counter