public static int countNumberOfRepairersForBuilding(Unit building) {
		if (building == null) {
			return 0;
		}

		int total = 0;
		for (Unit worker : repairers) {
			if (worker == null) {
				return 0;
			}

			if (repairersToBuildings.get(worker) == null) {
				continue;
			}

			if (repairersToBuildings.get(worker).equals(building)
					|| building.equals(worker.getTargetUnitID())) {
				total++;
			}
		}
		return total;
	}