main.c: In function ‘main’:
main.c:4:17: error: ‘count’ undeclared (first use in this function)
    4 |     int total = count + 1;
      |                 ^~~~~
main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in
