pattern help

i have 9 stitches on my needle.
Here is the pattern:

K1 , ( cast on 3 sts, cast off 3 sts, k1 ) 4 times
P.S: The cast on sts is by knitted cast on method

When I do this pattern as above I have remaining 4 unworked sts on my needle. I believe this is wrong because there should be 9 worked sts on the right needle if I follow the above correctly.
If you can help with the detailed explanation, I'd be very grateful. Please help.