An estimate for the dimension of the kernel of a singular operator with a non-Carleman shift