Forum:Number of articles in a category from certain namespace

I'm familiar with and, but is there a way to combine them to output the amount of articles in a category from a specific namespace? Specifically I need it to count the number of File: in a category. Duskey ( talk ) 14:41, August 5, 2010 (UTC)
 * Special:Statistics and look at the line Uploaded files? -- 16:19, August 5, 2010 (UTC)
 * Not quite what I was going for, I need the output the number of files in a category. Duskey ( talk ) 20:09, August 5, 2010 (UTC)
 * or -- 15:26, August 6, 2010 (UTC)
 * How do I tweak those to only count the files in a certain category? Duskey ( talk ) 10:41, August 9, 2010 (UTC)
 * Make sure only files are in the category, then replace categoryname in the second magic word with the category's name. -- 10:47, August 9, 2010 (UTC)