Added start and count information to study details query