Added dispose clear and count
Yet another math failure