It takes less than 1000 blocks. About 600, if I recall correctly. There is no real entry age for programming. As long as you can use a computer and you are willing to learn, you can code.