Update felix1.c

- Add comments to functions
- Create a few helper functions for getting counts