K-theoretic sheaf counting in threefold