title: Count the number of files inside a folder in Objective C (Cocoa)
body: <p>I m making an array of images animate like a flicker book animation,i m storing these images inside a folder which intern resides inside Resource folder of my project in xcode..
  these images will vary,that is why i have to determine the exact number of images inside the folder so how should i determine this? is there any API in cocoa to achieve this?  </p>