You can use any hat pattern to get the number of cast on stitches. It's basically a tube open on both ends and knit with circulars or double points. I would suggest using a German twisted cast on to make it easier to get on and off. Knitting Help has tutorial videos on this cast on.
On size 8 needles, I believe I cast on 80 or 90 stitches. The height of this is 9 inches. I used a rib pattern, either k1,p1 or k2, p2. These are sometimes called circle scarves. One of mine is in wool. It's very warm. I like it because I can pull it up over my face when it gets windy or cold and it stays in place. I don't have the ends of a scarf coming undone and flapping all over the place. You don't use as much yarn, either, and it's more practical.