Fix counting insert invoker - return count and not row ids