Inspect this Python project and fix the total() bug so the tests pass. Start by reading the root directory with limit=2 and follow the returned offset to view the remaining entries. Use glob to locate Python files, grep to locate total, and read the implementation. Apply the fix with edit, create NOTES.md with write describing the change, and run python3 -m unittest -v with shell. Keep the final answer brief and state the actual test outcome.
