Counters are now properly treated as longs

So Jackson/vertx/us is doing something fishy with long -> int conversions. It is rather annoying that get_count can return int or long depending on the size. However this patch allows us to treat coutners as long, maybe as a follow on we can come up with a way for them to always return a long. For now the client simply has to be aware that if the counter < Integer.Max_value intravert will return an integer.