A shipping container has a maximum weight capacity of 20,000 pounds. The empty container itself weighs 1,500 pounds. Each crate loaded into the container weighs 250 pounds. In addition to the crates, a minimum of 500 pounds of specialized packing material must be added to secure the contents, regardless of the number of crates. What is the maximum number of crates that can be loaded into the container?