Add getUnlockedShapeCount and eraseView.