It is 15th , if you use diffuse, normal and some composite one. That are 3 textures per layer.
I think limit of textures is 16. You need to use texture atlas (pack 4 textures in single bigger 2x2 one, then pan UVs in material to use correct one).
Or use virtual texture (however i am not sure if that solves limitation of 16).