Add count
Add a bunch of documentation
Add even more docs
Add more comments + docs
Fix broken fn