On quantifying the topological charge in micromagnetics using a lattice-based approach. (28th August 2020)