Create Counting and displaying number of times a button is pressed on led's

http://www.youtube.com/watch?v=kdZZBbmNnHs

this video shows number of times a push button is pressed in form of binary which is displayed on LED's. button should be pressed only when the white led is on.. the number on the led is updated for every 20 sec in this video..