Hi.. I am having a problem with operations counting, summing or any other operation when I am doing the following command: $someModel->getFirst()->getTipo()->count();
or sum or anything It just bring me null ..
Other problem it is when I do directly SomeModel::count("some condition"); or It just doesn't work..
Does anyone had the same problem ?
Please am I doing something wrong ?
Many thanks..
Cheers!