userspace program example to increment decrement reference counter