What does the badge on the Store icon in the Messages app indicate?
The badge indicates the count of iMessage apps that can be enabled. This appears after you have installed an iOS app(s) with iMessage counterpart available.

 

Image Source: Apple Discussion Forums