I do not know what is DFA with empty stack. So, assuming PDA with empty stack.
S1 and S2 are finite languages and hence regular and hence CFL. S3 and S4 are CFLs. PDA with empty stack can accept the whole CFL without any exception and the language accepted by this and the PDA with acceptance by final state is one and the same. So, the answer should be 4 as only S5 is not a CFL.
Now, consider PDA as DPDA. Now, the language accepted by a DPDA with empty stack is a proper subset of the language accepted by a DPDA with final state. This set (accepted by DPDA with empty stack) must obey the prefix property - if $w$ is in $L$, no prefix of $w$ must be in $L$, and is exactly the same as the language generated by a LR(0) grammar.
From the given sets the first 4 do not obey prefix property:
- $a$ prefix of $ab$
- $b$ prefix of $ba$
- $aab$ prefix of $aabbbb$ (not DCFL also)
- $a$ prefix of $aa$ (not DCFL also)
The last one is not even a CFL. So, none of these languages can be accepted by a DPDA with empty stack. A DPDA with final state can accept the first 2 sets but not the other two.