How many first-author papers should I publish during postdoc to get a tenure-track faculty position?
I think quality of the work is more important than number or papers.  Even more important than first-author status.  

Of course non-first-author papers count; for exapmle, get the actual first author to write one of your recommendation letters, to describe your contribution to the research.