hello i have a awk expression which calculates the count of records having length issue. Issue is i am not getting the count as zero when there is no error

code

```
err_count=$(
    awk -v m=1 -v p=5 -v count=0 '
        {
            c=substr($0,m,p)
            sub(" +$", "", c)
            if ( (length(c) > p) && (NR > 1) ) {
                printf "%s:%s:%s\n", FILENAME, FNR, $0 > "/dev/stderr"
                count++
            }
        }
        END {
            print count
        }
    ' /test/data/poc/BNC_fixedwidth.txt
)

```

input file(fixed width)
-----------------------

```
header
10027  20033t  abc@gmail.com   19519  11/18/2021 12:06:10.260 PM BNC HardB 5 User Unk 125

```

the variable error\_count is always giving me blank instead of zero. Can anybody through some lights