Flux: Calculate for how long was a field value not zero

@Nick135

Have you seen this thread or this thread? Both are similar to what you are wanting to do.