Added calculation function that will allow us to use a count finder