He can get 22 bars.

15 bars with $45, then 5 more bars with the 15 wrappers, then 1 bar with 3 of the 5 wrappers, and finally 1 more bar with the last 3 wrappers.