changed EditCount from int to long

int is kinda small type for these numbers