title: Calculating number of pixel(count) raster files in R
body: <p>I have a huge number of raster files and a polygon that is within the extent of the raster files. I want get the pixel number(count) for each raster files within the polygon.
  Additionally I want to create a table with the name of raster file and number of pixels(listed) for each raster file.
  I have tried with stacking but with that I can not keep track of the name. Is there any other way of performing this task in R? </p>