Implemented IsEmpty and Count Methods