Fixed deserilization.  Added count