Does $5000 charitable donations threshold apply only to item donations or include cash donations? Does threshold apply per charity name or the sum of all your charities?

I have cash charity donations across 16 charities and item donations across 8 charities, which total over $5000.  

1. Does the $5000 apply to the sum both cash and item donations?

2.  How is the $5000. total calculated, i.e., is it up to $5000. for an individual charity or the sum of all your charities donations?