profile count&&page function added