Fixing the bug on elect count when it does not returns any row.
Finish 1.0.4