Added cmd_count to aol_restore. Returns cmd_count.

- Small refactor: command -> cmd
- Added docstring comment to aol.h