How many times has golf been included in the Olympic Games before 2016?

How many times has golf been included in the Olympic Games before 2016?