What code? The NEC doesn't have a device per run limit that i know of.