make count int rather than string