For the function
$$ f(x) = \begin{cases} \infty & \text{if $x=0$} \\ 1/x & \text{if $x \in \mathbb{Q} \smallsetminus 0$} \\ 0 & \text{Otherwise} \end{cases} $$ with domain $E = [0; 2]$ compute $\int f dm$
Could I please get some insight into doing this problem? I'm completely lost with measure theory and the material that I have is poor.