Cannot run command count(): $in needs an array