I am trying to use raw query instead of the ORM. However I am having trouble when i try to count all instances from MyTable.
Below is the code from my view :