Adding functions to count marks and use of 1 in next turn context.