Remove Count

Fixed some compiling errors !