Minimum 2 locks. And the lock featured in the article wouldn't cut it. Or rather it would be cut... and quite easily too.
Possibly even 3 locks if you have a very valuable e-bike. But honestly I would just get a beat up junker bike and ride that instead if you need to park it in iffy places.
Great way to show how much integrity and honesty you have. Cowards.