Birthday Jellybeans

Molly's big sister was trying to get a share of her birthday jellybeans. Katy said, "Put some in my pockets; one in the first, two in the second, four in the third, and so on, doubling the number in each pocket. I have three pockets in my jeans and three in my jacket." How many was Katy expecting?