@Override
    public int getNumBounties() throws DataStorageException {
        Set<String> keys = this.config.getConfigurationSection("bounties").getKeys(false);
        int bounties = 0;

        for (String key : keys) {
            try {
                Integer.valueOf(key);
                ConfigurationSection section = config.getConfigurationSection("bounties").getConfigurationSection(key);
                if (section.getString("hunter") == null) {
                    bounties++;
                }
            } catch (NumberFormatException e) {
                this.plugin.getLogger().warning("Picked up an invalid key at bounties." + key);
                continue;
            }
        }
        return bounties;
    }