Bugfixing and adding count to projects
Added a function to load a random project
Removed the print SQL line (debugging purposes)