Change location of increment to make counter more exact.  Change flag to -n to match tail