England captain Alastair Cook will play in Essex's first four County Championship games of the season.