Add separated implementation of GcmTotalInfo

Fixes an item in #50.