Fixed spelling mistake, use .count instead of .all.size