Fixed Twig Loader wrong "exists" check result

Added missing type cast to integer (Doctrine returns "COUNT" result as string)