Coordination number

Could somebody tell me how to calculate the coordination number for each atoms in nanoparticles with define size, just like in MD.