Changed bytes type in stats from int to uint64

Changed the type for new stats from int to uint64 because the build failled on 32 bits platforms