How long is the longest pathway a neural signal can take starting from a sensory neuron and ending at a motor neuron (without loops)?
[This is a purely theoretical question concerning only the synaptic connectivity of neurons, not the propagation of real signals.]
The question then reads:
How long is the longest pathway from a sensory neuron to layer I of the cerebral cortex?
How long is the longest pathway from layer VI of the cerebral cortex to an upper motor neuron (which may lie in the brain stem)?
How long can be "detours" inside the system of layers of the cerebral cortex?
I assume that the cortex is not strictly layered, so that a neuron in layer $i$ normally projects on a neuron in layer $i+1$ directly, but possibly also via $N$ interneurons. Theoretically, the upper bound for $N$ is just the number of neurons in the brain, but in practice will be much smaller. To get a sensible number, it may be necessary to neglect detours that are too long because they are too sporadic and/or useless. (But how to define and quantify sporadicity and usefullness in this context?)
If my question doesn't make sense in the way I ask it here: How could I improve it to make it sensible?
[Of course, I am not looking for exact numbers but only for estimates, resp. estimates of lower and upper bounds.]