Glance to Count: Learning to Rank with Anchors for Weakly-supervised Crowd Counting