I agree that any real fitness tracking solution should be able to capture a gym workout accurately, but how would you propose the dumbell thing would work? With NFC or something?
Edit: Downvote me all you want, but this is not that complicated to calculate.