Fixing the primitive count