Let $h:\mathbb R\to\mathbb R$ be differentiable. It can be shown that $$N:=\left\{a\in\mathbb R:h(a)=0\text{ and }h'(a)\ne0\right\}$$ is countable and $|h|$ is differentiable on $\mathbb R\setminus N$ with $$|h|'(a)=\begin{cases}\displaystyle\frac{h(a)}{\left|h(a)\right|}h'(a)&\text{, if }h(a)\ne0\\0&\text{, if }h'(a)=0\end{cases}\tag1$$ for all $a\in\mathbb R$.
Assuming $h$ is twice differentiable, can we show a similar statement for the second derivative of $|h|$, i.e. that there is a countable $N'\subseteq\mathbb R$ such that $|h|$ is twice differentiable on $\mathbb R\setminus N'$?
EDIT: It would be enough for me, if $N'$ can be shown to have Lebesgue measure $0$ (as opposed to being even countable). Moreover, if necessary, feel free to assume that $h''$ is continuous.
EDIT 2: We already know that $|h|$ is differentiable at $a$ with $$|h|'(a)=\operatorname{sgn}(h(a))h'(a)\tag5$$ for all $a\in\left\{h\ne0\right\}\cup\left\{h'=0\right\}$. Now, since $h$ is continuous, $\operatorname{sgn}h$ is differentiable at $a$ with $$(\operatorname{sgn}h)'(a)=0\tag6$$ for all $a\in\left\{h\ne0\right\}\cup\left\{h=0\right\}^\circ$ (see: Can we show differentiability of $\operatorname{sgn}h$ on a larger set than $\left\{h\ne0\right\}$?). Thus, by the chain rule, $|h|$ is twice differentiable at $a$ with $$|h|''(a)=\operatorname{sgn}(h(a))h''(a)\tag7$$ for all $a\in\left\{h\ne0\right\}\cup\left\{h=0\right\}^\circ\cap\left\{h'=0\right\}$. The complement of the latter set is $$N_0:=\left\{h=0\right\}\cap\left(\mathbb R\setminus\left\{h=0\right\}^\circ\cup\left\{h'\ne0\right\}\right)=\partial\left\{h=0\right\}\cup N.$$ However, since $\partial\left\{h=0\right\}$ doesn't need to have Lebesgue measure $0$ (please correct me if I'm wrong), we cannot conclude.
(Please take note of my related question: if $h$ is twice differentiable, what is the largest set on which $|h|$ is twice differentiable?.)
Suppose that $h$ is twice differentiable. Note that you already know that $\bigl||h|'(x)\bigr|=|h'(x)|$ for $x\notin N:=\{\,x\in \Bbb R\mid h(x)=0,h'(x)\ne 0\,\}$ (and that $N$ is countable).
Suppose $h(a)=h'(a)=0$, $h''(a)=c>0$. Then we have a local minimum at $a$, hence $h(x)\ge0$ on some interval $(a-\epsilon,a+\epsilon)$ and hence $|h|=h$ and $|h|''=h''$ there. Similarly, $|h|''(a)=-h''(a)=|h''(a)|$ if $c<0$. If $c=0$ and additionally $a\notin \overline N$, then we already know $|h|'(a)=0$ and have that $$\tag1\lim_{t\to0}\left|\frac{|h|'(a+t)-|h|'(a)|}{t}\right|=\lim_{t\to 0}\left|\frac{|h|'(a+t)}{t}\right|= \lim_{t\to 0}\left|\frac{h'(a+t)}{t}\right|=0$$ because $\lim_{t\to 0}\frac{h'(a+t)}{t}=h''(a)=0$ and we conclude that also $|h|''(a)=0$.
We conclude that $|h|''(a)$ can only fail to exist under some limited conditions, namely for $a\in N$ and for those $a\in\overline N$ where $h''(a)=0$ (and additionally $h(a)=h'(a)=0$). Specifically, let $$N_2=(\overline N\cap \{\,x\in\Bbb R\mid h(x)=h'(x)=h''(x)=0\,\})\cup N.$$ Let $x\in\Bbb R\setminus N_2$. Then one of the following cases treated above applies:
Note that we cannot say that $N_2$ is countable (or can we?), but at least it is nowhere dense ...
Can $|h|''$ exist for any point $a\in N_2$? Certainly not for $a\in N$ as then not even $h'(a)$ exists: From $h(a)=0$ it follows that $\frac{|h|(x)-|h|(a)}{x-a}=\pm\frac{h(x)-h(a)}{x-a}$, so at most $|h|'(a)=\pm h'(a)$ is possible, but on the other hand $|h|$ has a local minimum at $a$. So what about $a$ with $h(a)=h'(a)=h''(a)=0$ and there is a sequence $a_n\to a$ with $h(a_n)=0$, $h'(a_n)\ne 0$? Then as just said, $|h|'(a_n)$ does not exist. Hence there is no open neighbourhood of $a$ where $|h|'$ is defined. Hence the ordinariy definition of derivative is not applicable.
At best, a one-sided derivative of $|h|'$ can exist. In that case, we can just write $t\to 0^+$ or $t\to 0^-$ in $(1)$ and still obtain the (one-sided) derivative $|h|''(a)=0$. But keep in mind that even this is valid only if $a$ is only a one-sided limit of points in $N$, that is, we must have that one of $[a,a+\epsilon)$, $(a-\epsilon,a]$ is disjoint from $N$.