Counting squarefree numbers