Mamdani assesses political strength in NY primary