parse count from args