captures counting