Umar Akmal helps Pakistan post 317-7 against Kenya