capture counting