[bugfix] don't circumvent release when count > 0

release callback is _not_ per object, but per user (previously
mistaken).  Now check for count > 0 is done after release callback is
called.

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>