If each bag has 1 cookies and you had 4 cookies in total How many bags of cookies do you have?
1 cookie in a bag means 1 bag. 
2 cookies in total means 2 bags. 
3 cookies in total means 3 bags. 
4 cookies in total means 4 bags.