Charlotte bought packages of hot dogs for $4 each each package contains 8 hot dogs. If she spent $16 on hot dogs, how many hot dogs did she buy