The problem may be using count, which has some oddness to it. Have you tried using ->get(1) (limit 1), and then check result_count, to see if that works for you?
modano
Not to be rude, but everything you are asking is explained in the manual, as well as there are numerous examples in the manual AND in the example app. There is no reason for the advanced relationships format with a normal many-to-many join. Please read the pages under Getting Started first. Also, don't name your fields users or movies, just name them user and movie. It tends to break things otherwise.