postgres fix so that like count is o not nil