Twitter share is a way to allow user to share website / tweet on the twitter . There are various methods to share data on twitter , but here we are using javascript method .We can customize tweet using data attributes .
Followings are steps need to be followed
1) Add javascript in file . It would be better to add javascript just below <body> .

To display count box (number of share) remove data-count=”none” attribute or set data-count=”horizontal”
3) If you would like to handle the tweet response , you need to bind the twitter response by using following script .