ajax call calculate number