This pattern link is for a recipe found on the Martha Stewart website. It details how to knit a lined, zippered change purse and how to knit a case for glasses.
For Purse: 8 stitches and 12 rows = 2 inches
For Case: 11 stitches and 15 rows = 2 inches
U.S. size 8 needle (purse)
Medium-weight yarn (purse)
1/4 yard lightweight cotton fabric (purse lining)
U.S. size 6 needle (case)
Light-weight yarn (case)
The recipe does not list information as to how many stitches to cast on, but some commenters have suggested 32 stitches for the purse and 22 stitches for the case.