Does anyone know the maximum number of directories that may be contained under one single directory?

We are storing imaging and this will affect how we store it - if we need to break it up some? I am sorry but I have searched and not found anything.