It's better not to post to self when doing ajax requests.
show.ctp
echo $this->Form->create('Count', array('action'=>'ajaxShow'));
controller
public function ajaxShow(){
$this->layout = 'ajax';
if($this->RequestHandler->isAjax()){
$this->render('success', 'ajax'); //ajax tells the layout it should use
}
}