Ranks of certain semigroups of transformations with idempotent complement whose restrictions belong to a given semigroup | Synapse