That's number of bills passed by the Texas Legislature in the 83rd regular session. Click here for the list.
And the breakdown from this page.
House Bills - 3950
Senate Bills - 1918
Which adds up to 5,868. I have no explanation for the disparity.
Total number of items passed by the House and Senate: 10,630
This includes:
House Concurrent Resolutions - 207
House Joint Resolutions - 130
House Resolutions - 3213
Senate Concurrent Resolutions - 49
Senate Joint Resolutions - 49
Senate Resolutions - 1100