Adding count to structure.