made count integer so preceding zeros are removed from string