3d printer filament counter