add count to end