Fix IN slots counting bug

long[] and double[] is a reference, should only take 1 slots.