Enable/Disable menu elements implemented, re-design of Count elements method.