Only 4?
Only 4 what?
Oh, I see what you are referring to.
Yes, only four. Read the Articles and Acts of Secession.
It is a common misperception that all the seceding states listed slavery as the reason for their secession. Just as it is a common misperception that the Emancipation Proclamation actually freed someone.