better running count, thanks to Ted Malaska