changed count type to int64