Follow CBSMIAMI.COM: Facebook | Twitter

(CBSNewYork/CBS Local) — Four appears to be the magic number when it comes to coffee.

READ MORE: North Miami Beach PD Needs Help Locating 15-Year-old Jeimy Henrriquez

A new study finds drinking four cups of java a day could be good for your heart.

READ MORE: Former US Rep. Carrie Meek Passes Away At 95

German researchers say caffeine promotes the movement of a regulatory protein that can protect cardiovascular cells from damage.

They found it was sufficient to help guard against cell death and help your ticker recover after a heart attack.

MORE NEWS: Officer Injured, Suspect Dead Following Coral Gables Police-Involved Shooting

The study is published in the journal PLOS Biology.