Added isEmpty(), getCount(), and clear()