change draw mesh arg from end to count