Trophic levels correspond to positions on a food chain. Therefore, producers always belong to the first trophic level and decomposers to the last trophic level; consumers that directly eat the producers belong to the second trophic level and so on.
There is no limit regarding the number of trophic levels of a food chain, since many orders of consumers can exist.