Number of common tangents to two circles in different conditions