ydr,ymt limits what are they?

ive just been told there’s a limit to how many yfts,ydds,ydrs,ymt etc what actually is the limit and what is the full range of file types that are added together