SyntaxFix
Write A Post
Hire A Developer
Questions
Sometimes size "picks the wrong one" and returns a hash (which is what count would do)
size
count
In that case, use length to get an integer instead of hash.
length