switch counts to be int64