It'll be difficult to obtain it with conventional XRD experiment. The best choice could be a SAXS configuration from which it is possible obtain the size distribution.
If you are dealing with mesoporous materials, you can observe the d sapcing of the first diffraction peak below 5 degrees 2Theta, from that you can calculate the size of the pores.