In K4Fe(CN)6
CN fulfills primary valency
CN fulfills secondary valency
K is linked with secondary valency
K is linked with non-ionic valency
Couple things you need to remember here: Primary valency : oxidation number Secondary valency : coordination number