Stumped on Return Statement Error Arduino HS Project

Hello, I've been trying to create a 20Q of sorts in Arduino for a High School Project. I've been using some of the 20Q source code and I've been able to sift through most of the errors, except for this one.
If anyone could shed some light that would be extremely helpful! Thanks!

My program exceeds the 9000 character limit so I've attached it with a ZIP file

20Q Code.zip (2.39 KB)

except for this one.

Which one would that be?

    int countRemainingAnimals();

Sticking a function prototype in the middle of loop() is silly. This is NOT defining a function.