Added a counter to the sync table aswell, it should be more reliable
than the hash number